package com.dnndo.wx.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 获取扫码状态返回实体
 */
@Data
@ApiModel(value = "扫码状态返回实体")
public class ScanStatusVO {
    /**
     * 扫码状态
     */
    @ApiModelProperty(value = "扫码状态")
    private String status;
    /**
     * 登录唯一标识
     */
    @ApiModelProperty(value = "登录唯一标识(登录成功会返回)")
    private String token;

    /**
     * unionid
     */
    @ApiModelProperty(value = "unionid(需要绑定手机号时会返回)")
    private String unionid;

    /**
     * 头像
     */
    private String avatar;
    /**
     * 昵称
     */
    private String nickName;

    public ScanStatusVO(String status) {
        this.status = status;
    }

    public ScanStatusVO(String status, String unionid) {
        this.status = status;
        this.unionid = unionid;
    }

    public ScanStatusVO() {
    }
}
